python: opencv some issue when count pixel

welcome to shbcf.ru